#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()

tl = Toplevel()

Label(root, text='hello label').pack()

Label(tl, text='Toplevel label').pack()

tl.title('toplevel')
tl.geometry('400x300')

root.title('root')
root.geometry('300x400')

root,mainloop()
